package com.cdtye.itps.cms.mapper.tunnel;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdtye.itps.cms.dao.tunnel.entity.JcTunnel;
import com.cdtye.itps.cms.dao.tunnel.vo.JcTunnelVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface JcTunnelMapper extends BaseMapper<JcTunnel> {
    List<Map<String,Object>> getTunnelById(@Param("tunnelId") String  tunnelId);

    List<Map<String,Object>> getByTunnelIdList(@Param("vo") JcTunnelVo vo);

    List<Map<String, Object>> getList(@Param("vo") JcTunnelVo vo);

    IPage<Map<String, Object>> pageList4Brain(IPage iPage, @Param("vo") JcTunnelVo vo);
}
